import { request } from '@/utils/request.js';



export const getCartData = (data) => {
	return request({
		url: `goods/index`,
		method: 'get',
		data: data
	})
}
export const getdetailData = (data) => {
	return request({
		url: `goods/detail`,
		method: 'get',
		data: data
	})
}
export const SetserviceData = (data) => {
	return request({
		url: `service/submit`,
		method: 'post',
		data: data
	})
}
export const GetsubData = (data) => {
	return request({
		url: `service/index`,
		method: 'get',
		data: data
	})
}
export const GetsubindexData = (data) => {
	return request({
		url: `engineer/service/index`,
		method: 'get',
		data: data
	})
}
export const GetsetfinData = (data) => {
	return request({
		url: `engineer/service/finished`,
		method: 'post',
		data: data
	})
}
export const GetdetailData = (data) => {
	return request({
		url: `engineer/service/detail`,
		method: 'get',
		data: data
	})
}
export const GetpayeeQrCodeData = (data) => {
	return request({
		url: `engineer/service/payeeQrCode`,
		method: 'get',
		data: data
	})
}
export const Postuploaddata = (data) => {
	return request({
		url: `common/upload`,
		method: 'post',
		data: data
	})
}